﻿<Window x:Class="SaludOcupacional.Usuarios"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Usuarios" Height="424" Width="643">
    <Grid Background="LightSkyBlue">
        <Label Content="USUARIOS" FontSize="30" FontWeight="Bold" Height="39" HorizontalAlignment="Right" Margin="0,0,235,0" Name="label19" VerticalAlignment="Top" FontFamily="Calibri" Foreground="Azure" FontStyle="Italic"></Label>
        <TabControl Height="340" HorizontalAlignment="Left" Margin="0,45,0,0" Name="tabControl1" VerticalAlignment="Top" Width="621">
            <TabItem Header="RegistrarUsuario" Name="tabItem3">
                <Grid>
                    <Label Content="Login:" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label22" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <TextBox MaxLength="20" Height="23" HorizontalAlignment="Left" Margin="130,12,0,0" Name="rLogin" VerticalAlignment="Top" Width="120" TextChanged="rLogin_TextChanged" />
                    <Label Content="Privilegio:" Height="28" HorizontalAlignment="Left" Margin="10,70,0,0" Name="label23" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="10,99,0,0" Name="label24" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Apellido Paterno:" Height="28" HorizontalAlignment="Left" Margin="10,128,0,0" Name="label25" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="130,101,0,0" Name="rNombre" VerticalAlignment="Top" Width="120" Text="" />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="130,128,0,0" Name="rPaterno" VerticalAlignment="Top" Width="120" Text="" />
                    <Label Content="Apellido Materno:" Height="28" HorizontalAlignment="Left" Margin="10,154,0,0" Name="label26" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Telefono:" Height="28" HorizontalAlignment="Left" Margin="10,183,0,0" Name="label27" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Direccion:" Height="28" HorizontalAlignment="Left" Margin="10,212,0,0" Name="label28" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Fecha Nacimiento:" Height="28" HorizontalAlignment="Left" Margin="281,70,0,0" Name="label29" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Email:" Height="28" HorizontalAlignment="Left" Margin="281,99,0,0" Name="label30" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Telefono Celular:" Height="28" HorizontalAlignment="Left" Margin="281,128,0,0" Name="label31" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <TextBox MaxLength="9" Height="23" HorizontalAlignment="Left" Margin="404,128,0,0" Name="rCelular" VerticalAlignment="Top" Width="120" Text="" TextChanged="rCelular_TextChanged" />
                    <DatePicker Height="25" HorizontalAlignment="Left" Margin="404,71,0,0" Name="rNacimiento" VerticalAlignment="Top" Width="120" Text=""  />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="130,156,0,0" Name="rMaterno" VerticalAlignment="Top" Width="120" Text="" />
                    <TextBox Height="23" MaxLength="9" HorizontalAlignment="Left" Margin="130,185,0,0" Name="rTelefono" VerticalAlignment="Top" Width="120" Text="" TextChanged="rTelefono_TextChanged" />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="130,214,0,0" Name="rDireccion" VerticalAlignment="Top" Width="120" Text="" />
                    <Label Content="Password:" Height="28" HorizontalAlignment="Left" Margin="10,36,0,0" Name="label32" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <PasswordBox MaxLength="16" Height="23" HorizontalAlignment="Left" Margin="130,38,0,0" Name="rPassword" VerticalAlignment="Top" Width="120" />
                    <Label Content="Re-Password:" Height="28" HorizontalAlignment="Left" Margin="281,36,0,0" Name="label33" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <PasswordBox MaxLength="16" Height="23" HorizontalAlignment="Left" Margin="404,38,0,0" Name="rePassword" VerticalAlignment="Top" Width="120" />
                    <Button Content="ACEPTAR" FontSize="20" FontWeight="Bold" Height="51" HorizontalAlignment="Left" Margin="131,250,0,0" Name="rAceptar" VerticalAlignment="Top" Width="119" Click="button2_Click" FontFamily="Calibri" />
                    <Button Content="BORRAR" FontSize="20" FontWeight="Bold" Height="51" HorizontalAlignment="Left" Margin="375,250,0,0" Name="rBorrar" VerticalAlignment="Top" Width="119" Click="rBorrar_Click" FontFamily="Calibri" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="130,70,0,0" Name="rPrivilegio" VerticalAlignment="Top" Width="120">
                        <ComboBoxItem Content="Administrador" />
                        <ComboBoxItem Content="Medico" />
                        <ComboBoxItem Content="Gerente" />
                    </ComboBox>
                    <Button Content="Verificar" Height="23" HorizontalAlignment="Left" Margin="253,12,0,0" Name="rVerificar" VerticalAlignment="Top" Width="75" FontStretch="Normal" Visibility="Hidden" Click="rVerificar_Click" FontFamily="Calibri" FontSize="13" />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="404,101,0,0" Name="rEmail" VerticalAlignment="Top" Width="120" Text="" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="253,38,0,0" Name="label9" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="334,12,0,0" Name="label10" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="529,38,0,0" Name="label13" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="253,68,0,0" Name="label14" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="253,101,0,0" Name="label15" VerticalAlignment="Top" />
                    <Label Content="*" Height="26" HorizontalAlignment="Left" Margin="253,130,0,0" Name="label34" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="253,156,0,0" Name="label35" VerticalAlignment="Top" />
                </Grid>
            </TabItem>
            <TabItem Header="EditarUsuario" Name="tabItem2">
                <Grid Height="307">
                    <Label Content="Login:" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label1" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Calibri" FontSize="15" />
                    <TextBox MaxLength="20" Height="23" HorizontalAlignment="Left" Margin="133,15,0,0" Name="eLogin" VerticalAlignment="Top" Width="120" TextChanged="eLogin_TextChanged" />
                    <Label Content="Privilegio:" Height="28" HorizontalAlignment="Left" Margin="10,70,0,0" Name="label3" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="10,99,0,0" Name="label4" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Apellido Paterno:" Height="28" HorizontalAlignment="Left" Margin="10,128,0,0" Name="label11" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Calibri" FontSize="15" />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="133,104,0,0" Name="eNombre" VerticalAlignment="Top" Width="120"  />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="133,131,0,0" Name="ePaterno" VerticalAlignment="Top" Width="120" />
                    <Label Content="Apellido Materno:" Height="28" HorizontalAlignment="Left" Margin="10,154,0,0" Name="label12" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Telefono:" Height="28" HorizontalAlignment="Left" Margin="10,183,0,0" Name="label16" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Direccion:" Height="28" HorizontalAlignment="Left" Margin="10,212,0,0" Name="label17" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Calibri" FontSize="15" />
                    <Label Content="Fecha Nacimiento:" Height="28" HorizontalAlignment="Left" Margin="300,69,0,0" Name="label18" VerticalAlignment="Top" FontFamily="Calibri" FontWeight="Normal" FontSize="15" />
                    <Label Content="Email:" Height="28" HorizontalAlignment="Left" Margin="300,98,0,0" Name="label20" VerticalAlignment="Top" FontFamily="Calibri" FontWeight="Normal" FontSize="15" />
                    <Label Content="Telefono Celular:" Height="28" HorizontalAlignment="Left" Margin="300,127,0,0" Name="label21" VerticalAlignment="Top" FontFamily="Calibri" FontWeight="Normal" FontSize="15" />
                    <TextBox Height="23" HorizontalAlignment="Left" MaxLength="20" Margin="425,100,0,0" Name="eEmail" VerticalAlignment="Top" Width="120" />
                    <TextBox Height="23" MaxLength="9" HorizontalAlignment="Left" Margin="425,127,0,0" Name="eCelular" VerticalAlignment="Top" Width="120" TextChanged="eCelular_TextChanged" />
                    <DatePicker Height="25" HorizontalAlignment="Left" Margin="425,70,0,0" Name="eNacimiento" VerticalAlignment="Top" Width="120" Text="" DisplayDateStart="{x:Null}" />
                    <Button Content="Cambiar Contraseña" Height="23" HorizontalAlignment="Left" Margin="133,43,0,0" Name="xPassword" VerticalAlignment="Top" Width="120" Click="xPassword_Click" FontFamily="Calibri" FontSize="13" />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="133,159,0,0" Name="eMaterno" VerticalAlignment="Top" Width="120" />
                    <TextBox Height="23" MaxLength="9" HorizontalAlignment="Left" Margin="133,188,0,0" Name="eTelefono" VerticalAlignment="Top" Width="120" TextChanged="eTelefono_TextChanged" />
                    <TextBox Height="23" MaxLength="20" HorizontalAlignment="Left" Margin="133,217,0,0" Name="eDireccion" VerticalAlignment="Top" Width="120" />
                    <Button Content="GUARDAR CAMBIOS" FontSize="20" FontWeight="Bold" Height="51" HorizontalAlignment="Left" Margin="230,250,0,0" Name="xEditar" VerticalAlignment="Top" Width="165" Click="xEditar_Click" FontFamily="Calibri" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="133,73,0,0" Name="ePrivilegio" VerticalAlignment="Top" Width="120">
                        <ComboBoxItem Content="Administrador" />
                        <ComboBoxItem Content="Gerente" />
                        <ComboBoxItem Content="Medico" />
                    </ComboBox>
                    <Button Content="Verificar" Height="23" HorizontalAlignment="Left" Margin="259,15,0,0" Name="eVerificar" VerticalAlignment="Top" Width="75" Click="button1_Click" Visibility="Hidden" FontFamily="Calibri" FontSize="13" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="340,15,0,0" Name="label36" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="259,73,0,0" Name="label37" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="258,100,0,0" Name="label38" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="259,129,0,0" Name="label39" VerticalAlignment="Top" />
                    <Label Content="*" Height="28" HorizontalAlignment="Left" Margin="259,157,0,0" Name="label40" VerticalAlignment="Top" />
                </Grid>
            </TabItem>
            <TabItem Header="VerUsuario" Name="tabItem1">
                <Grid Height="307">
                    <Button Content="Buscar" Height="23" HorizontalAlignment="Left" Margin="387,16,0,0" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click_1" />
                    <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="126,11,0,0" Name="label2" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="188,16,0,0" Name="vNombre" VerticalAlignment="Top" Width="193" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="17,109,0,0" Name="vNombre1" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="17,143,0,0" Name="vNombre2" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="17,177,0,0" Name="vNombre3" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="17,211,0,0" Name="vNombre4" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="17,245,0,0" Name="vNombre5" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="302,111,0,0" Name="vLogin1" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="302,145,0,0" Name="vLogin2" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="302,179,0,0" Name="vLogin3" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="302,213,0,0" Name="vLogin4" VerticalAlignment="Top" Visibility="Hidden" />
                    <Label Content="Label" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="302,247,0,0" Name="vLogin5" VerticalAlignment="Top" Visibility="Hidden" />
                    <Button Content="Ver" Height="23" HorizontalAlignment="Left" Margin="410,114,0,0" Name="Ver1" VerticalAlignment="Top" Visibility="Hidden" Width="84" Click="Ver1_Click" />
                    <Button Content="ver" Height="23" HorizontalAlignment="Left" Margin="410,148,0,0" Name="Ver2" VerticalAlignment="Top" Visibility="Hidden" Width="84" Click="Ver2_Click" />
                    <Button Content="Ver" Height="23" HorizontalAlignment="Left" Margin="410,182,0,0" Name="Ver3" VerticalAlignment="Top" Visibility="Hidden" Width="84" Click="Ver3_Click" />
                    <Button Content="Ver" Height="23" HorizontalAlignment="Left" Margin="410,216,0,0" Name="Ver4" VerticalAlignment="Top" Visibility="Hidden" Width="84" Click="Ver4_Click" />
                    <Button Content="Ver" Height="23" HorizontalAlignment="Left" Margin="410,250,0,0" Name="Ver5" VerticalAlignment="Top" Visibility="Hidden" Width="84" Click="Ver5_Click" />
                    <Label Content="NOMBRE" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="15,74,0,0" Name="label57" VerticalAlignment="Top" Visibility="Visible" />
                    <Label Content="LOGIN" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="302,74,0,0" Name="label58" VerticalAlignment="Top" Visibility="Visible" />
                </Grid>
            </TabItem>
            <TabItem Header="Cambiar Estado" Name="tabItem4">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="246*" />
                        <ColumnDefinition Width="365*" />
                    </Grid.ColumnDefinitions>
                    <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="62,15,0,0" Name="label5" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="120,15,0,0" Name="cNombre" VerticalAlignment="Top" Width="200" MaxLength="30" Grid.ColumnSpan="2" />
                    <Button Content="Buscar" Height="23" HorizontalAlignment="Right" Margin="0,14,210,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click_1" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="15,85,0,0" Name="nombre1" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="15,119,0,0" Name="nombre2" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="15,153,0,0" Name="nombre3" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="15,187,0,0" Name="nombre4" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="15,221,0,0" Name="nombre5" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="54,87,0,0" Name="login1" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="54,121,0,0" Name="login2" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="54,155,0,0" Name="login3" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="54,189,0,0" Name="login4" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="54,223,0,0" Name="login5" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Button Content="CambiarEstado" Height="23" HorizontalAlignment="Left" Margin="270,86,0,0" Name="cambiar1" VerticalAlignment="Top" Width="84" Visibility="Hidden" Click="cambiar1_Click" Grid.Column="1" />
                    <Button Content="CambiarEstado" Height="23" HorizontalAlignment="Left" Margin="270,120,0,0" Name="cambiar2" VerticalAlignment="Top" Width="84" Visibility="Hidden" Click="cambiar2_Click" Grid.Column="1" />
                    <Button Content="CambiarEstado" Height="23" HorizontalAlignment="Left" Margin="270,154,0,0" Name="cambiar3" VerticalAlignment="Top" Width="84" Visibility="Hidden" Click="cambiar3_Click" Grid.Column="1" />
                    <Button Content="CambiarEstado" Height="23" HorizontalAlignment="Left" Margin="270,188,0,0" Name="cambiar4" VerticalAlignment="Top" Width="84" Visibility="Hidden" Click="cambiar4_Click" Grid.Column="1" />
                    <Button Content="CambiarEstado" Height="23" HorizontalAlignment="Left" Margin="270,222,0,0" Name="cambiar5" VerticalAlignment="Top" Width="84" Visibility="Hidden" Click="cambiar5_Click" Grid.Column="1" />
                    <Label Content="Label" HorizontalAlignment="Left" Margin="165,86,0,193" Name="estado1" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="165,120,0,0" Name="estado2" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="165,154,0,0" Name="estado3" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="165,188,0,0" Name="estado4" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="165,222,0,0" Name="estado5" VerticalAlignment="Top" FontFamily="Calibri"  FontSize="15" Visibility="Hidden" Grid.Column="1" />
                    <Label Content="NOMBRE" Height="28" HorizontalAlignment="Left" Margin="13,50,0,0" Name="label6" VerticalAlignment="Top" FontFamily="Calibri" FontSize="15" />
                    <Label Content="LOGIN" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="54,50,0,0" Name="label7" VerticalAlignment="Top" Grid.Column="1" />
                    <Label Content="ESTADO" FontFamily="Calibri" FontSize="15" Height="28" HorizontalAlignment="Left" Margin="155,50,0,0" Name="label8" VerticalAlignment="Top" Grid.Column="1" />
                </Grid>
            </TabItem>
        </TabControl>
        <Button Content="Cerrar" Height="23" HorizontalAlignment="Left" Margin="534,12,0,0" Name="button6" VerticalAlignment="Top" Width="75" Click="button6_Click" FontWeight="Bold" />
    </Grid>
</Window>
